public class Dysjx {
    public static void main(String[] args) {
        pringTriangle(13);
    }

    public static void pringTriangle(int height) {
        for (int i = 1; i <= height; i=i+2) {
            for (int j = 1; j <= height-i; j++) {
                System.out.print(" ");
            }
            for (int l = 0; l <i*2-1; l++) {
                System.out.print("*");
            }System.out.print("\n");
        }
    }
}
